package com.nosnow.vod.invoking;

import com.nosnow.common.utils.R;
import com.nosnow.vod.invoking.impl.EduClientImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author by bingHeng
 * @version 1.0
 * @Create 2020/4/17 21:02
 */

@FeignClient(name = "service-edu", fallback = EduClientImpl.class)
@Component
public interface EduClient {

    @GetMapping("/edu/video/modifyVideoSourceIdByVideoId/{id}")
    R modifyVideoSourceIdByVideoId(@PathVariable("id") String id);
}
